import { createRouter, createWebHistory } from 'vue-router'

const routes=[
  {
    path: '/ref',
    name: 'ref',
    component:  () => import('../views/ref.vue')
  },
  {
    path: '/reactive',
    name: 'reactive',
    component: () => import('../views/reactive.vue')
  },
  {
    path: '/pinia',
    name: 'pinia',
    component: () => import('../views/pinia.vue')
  }
]

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes
})

export default router
